package net.lee.springbootvertx.vertx.request;


import io.vertx.core.http.HttpMethod;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestMapping {

    @AliasFor("path")
    String[] value() default {};

    @AliasFor("value")
    String[] path() default {};

    HttpMethod[] requestMethod() default {HttpMethod.GET};
}
